package com.atguigu.gulimall.es.service;

import com.atguigu.gulimall.es.entity.SkuEsDoc;
import com.atguigu.gulimall.es.repository.SkuRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ESServiceImpl {

    @Autowired
    private SkuRepository skuRepository;


    public void createSku(SkuEsDoc skuEsDoc) {
        skuRepository.save(skuEsDoc);
    }
}
